model^2 | contains contains the underlying classes whose instances are to be viewed and manipulated | |
has definition The functional layer in the MVC architectural pattern - the underlying classes whose instances are to be viewed and manipulated | |
does not know what view and controller are attached to it | |
is a subtopic of 9.5 - Architectural Patterns | |
is a kind of layer | |
see also model | |
uses the observer design pattern to separate it from the view | |
layer | communicates using procedure calls or by inter-process communication where the lower layers can become servers and the higher layers can become clients | |
has example The set of related services which could form a layer might include:- Services for computation
- Services for transmission of messages or data
- Services for storage of data
- Services for managing security
- Services for interacting with users
- Services provided by an operating system
- Services provided directly by the hardware
| |
has well-defined interface that is used by layer immediately above | |
is often divided into smaller subsystems | |
is part of multi-layer system | |
only communicates with the layer immediately below it | |
sees a lower layer as a set of services it can use | |
usually provides services through an API | |
component | is reusable if it can be used in several different systems with little or no modification | |
may perform a special-purpose function such as the user interface for a particular system | |